#include <signal.h>
#include <stdio.h>
#include <sys/types.h>
#include <signal.h>

//       int kill(pid_t pid, int sig); 
//typedef void (*sighandler_t)(int);
//sighandler_t signal(int signum, sighandler_t handler);

void handler(int signum){

	printf("signum = %d\n",signum);
}

int main(){

	signal(SIGINT,handler);
	while(1);
	return 0;
}
